import request from '@/utils/request'

// 获取
export const getList = (parmars) => {
  return request({
    url: '/steel-arch/client/prod/task/list',
    params:parmars,
    method: 'get'
  })
}
export const getProd = (params) => {
  return request({
    url: '/steel-arch/client/prod/list',
    params:params,
    method: 'get'
  })
}
export const addProd = (params) => {
  return request({
    url: '/steel-arch/client/prod/task/save',
    data:params,
    method: 'post'
  })
}
export const editProd = (params) => {
  return request({
    url: '/steel-arch/client/prod/task/update',
    data:params,
    method: 'post'
  })
}
export const getDicts = (params) => {
  return request({
    url: '/steel-arch/client/dict/data/list',
    params:params,
    method: 'get'
  })
}